package com.rongxue.pojo;

import java.math.BigDecimal;
import java.util.Date;
//用户成功充值提现记录
public class SAccountDetail {
    private Long id;//记录表ID

    private Long userId;//用户ID

    private BigDecimal accountTotal;//变动后总金额

    private BigDecimal accountAble;//变动后可用金额

    private BigDecimal accountFreeze;//变动后冻结金额

    private BigDecimal changeAmount;//本次变动金额

    private Integer type;//类型---1充值,2提现

    private Integer status;//状态---0未完成,1成功

    private String remark;//备注

    private Date addTime;//添加时间

    private Long addUserId;//添加的用户ID

    private Date modifyTime;//修改的时间

    private Long modifyUserId;//修改的用户ID

    private Integer rewardType;//奖励类型

    private BigDecimal rewardValue;//奖励金额

    private Integer rewardId;//奖励id

    public Integer getRewardType() {
        return rewardType;
    }

    public void setRewardType(Integer rewardType) {
        this.rewardType = rewardType;
    }

    public BigDecimal getRewardValue() {
        return rewardValue;
    }

    public void setRewardValue(BigDecimal rewardValue) {
        this.rewardValue = rewardValue;
    }

    public Integer getRewardId() {
        return rewardId;
    }

    public void setRewardId(Integer rewardId) {
        this.rewardId = rewardId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getAccountTotal() {
        return accountTotal;
    }

    public void setAccountTotal(BigDecimal accountTotal) {
        this.accountTotal = accountTotal;
    }

    public BigDecimal getAccountAble() {
        return accountAble;
    }

    public void setAccountAble(BigDecimal accountAble) {
        this.accountAble = accountAble;
    }

    public BigDecimal getAccountFreeze() {
        return accountFreeze;
    }

    public void setAccountFreeze(BigDecimal accountFreeze) {
        this.accountFreeze = accountFreeze;
    }

    public BigDecimal getChangeAmount() {
        return changeAmount;
    }

    public void setChangeAmount(BigDecimal changeAmount) {
        this.changeAmount = changeAmount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Long getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Long addUserId) {
        this.addUserId = addUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    @Override
    public String toString() {
        return "SAccountDetail{" +
                "id=" + id +
                ", userId=" + userId +
                ", accountTotal=" + accountTotal +
                ", accountAble=" + accountAble +
                ", accountFreeze=" + accountFreeze +
                ", changeAmount=" + changeAmount +
                ", type=" + type +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", addTime=" + addTime +
                ", addUserId=" + addUserId +
                ", modifyTime=" + modifyTime +
                ", modifyUserId=" + modifyUserId +
                ", rewardType=" + rewardType +
                ", rewardValue=" + rewardValue +
                ", rewardId=" + rewardId +
                '}';
    }
}